/*
 * Copyright (c) 2003-2005
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.hibernate.pojo;

import java.util.Collection;

/**
 * @author Anatol Pomozov
 * @hibernate.class table="idbag_table"
 */
public class IdbagMapping {
    private Collection idBag;

    public void setIdBag(Collection idBag) {
        this.idBag = idBag;
    }

    /**
     * @hibernate.idbag lazy="true" table="idbag_id" cascade="all"
     * @hibernate.collection-id generator-class="hilo" type="long" column="collection_id"
     * @hibernate.generator-param name="a" value="b"
     * @hibernate.key column="key_column"
     * @hibernate.many-to-many class="org.xdoclet.plugin.hibernate.pojo.ItemArray"
     * column="item" outer-join="true"
     * @hibernate.filter name="region" condition="REG = :region"
     * @hibernate.filter name="city" condition="CTY = :blam"
     */
    public Collection getIdBag() {
        return idBag;
    }
}